package com.shs.riggy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shs.riggy.dto.DishDto;
import com.shs.riggy.entity.Dish;

import java.util.List;

/**
 * @Author 晚点再动心
 * @Date 2022/9/13
 */
public interface DishService extends IService<Dish> {
    //对新增菜品中菜品口味信息进行保存
    public void saveWithFlavor(DishDto dishDto);
    public void updateWithFlavor(DishDto dishDto);
    //根据dishId查询 菜品信息和口味信息
    public DishDto getByDishIdWithFlavor(Long dishId);
    void batchDeleteByIds(List<Long> ids);
}
